//直播间混合
import SmsVer from '@/components/smsVer';//短信验证
export default {
	components:{
		SmsVer,		
	},
	data() {
		return {}
	},
	created() {
     this.getMsmVerInit()										
	},
	methods: {
		getMsmVerInit(){
			let {
				qaTab,
				roomInfo: {
					roomStatus,
					isprivate,//短信验证 
					isRestrict,//0第一次   1  非第一次
				}
			} = this.roomInfo;
			setTimeout(()=>{//验证非app  非第一次验证   
			   //0是预告 roomStatus 1是开播  2 是关播
				if(roomStatus ==1 && isprivate == 3 && isRestrict == 0 && !window.terminal.isZxjtApp){
					this.popupObj.position = 'bottom';
					this.popupObj.width = '100%';
					this.popupObj.round = true;
					this.popupObj.isPopupGlobalMask = false;
					//this.popupObj.heigth = '25.375rem'				
					this.isPopupCom = 'SmsVer';
					this.vantPopupShow = true
				}
			},500)
		},
	}
}
